import Vue from 'vue'
import VueStorage from 'vue-ls'
import config from '@/config/defaultSettings'
// base library
import '@/core/lazyLib/componentsUse'
import Viser from 'viser-vue'
import VueCropper from 'vue-cropper'
// ext library
import VueClipboard from 'vue-clipboard2'
import PermissionHelper from '@/utils/btnPermission'
import LightTimeline from 'vue-light-timeline'
// 按需加载element-ui
import '@/core/lazyLib/elementUiComponents'

VueClipboard.config.autoSetContainer = true
Vue.use(VueStorage, config.storageOptions)
Vue.use(Viser)
Vue.use(VueClipboard)
Vue.use(PermissionHelper)
Vue.use(VueCropper)
Vue.use(LightTimeline)
